package com.dys.ai.controller;

import com.dys.ai.common.api.ResponseEntity;
import com.dys.ai.service.SeatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SeatController {

    @Autowired
    private SeatService seatService;

    @GetMapping(value = "/listSeatInfo")
    public ResponseEntity listSeatInfo() {
        return seatService.listSeats();
    }
}
